package com.ruoyi.system.api;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.core.web.page.TableDataInfo;
import com.ruoyi.system.api.domain.SysDept;
import com.ruoyi.system.api.domain.SysUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "ruoyi-system")
public interface RemoteUserDeptService {
    //获取用户信息
    @GetMapping("/user/list")
    TableDataInfo list(@RequestBody SysUser user);
    //获取部门信息
    @GetMapping("/dept/list")
    AjaxResult list(@RequestBody SysDept dept);
}
